﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GenericLibrariesToolKit.BussinessException
{
    /// <summary>
    /// 实体管理器异常类
    /// </summary>
    public class EntityManagerException : ApplicationException
    {
        /// <summary>
        /// 无参构造函数
        /// </summary>
        public EntityManagerException() : base("EntityManager操作异常!") { }

        /// <summary>
        /// 带一个参数的构造函数
        /// </summary>
        /// <param name="message">自定义异常信息</param>
        public EntityManagerException(string message) : base(message){}

        /// <summary>
        /// 两个参数构造函数
        /// </summary>
        /// <param name="message">自定义异常信息</param>
        /// <param name="inner">基类异常</param>
        public EntityManagerException(string message, Exception inner) : base(message, inner) { }
    }
}
